package com.fuhe.chen.vendingmachine.service;

import com.fuhe.chen.vendingmachine.pojo.Log;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 日志服务层
 */

public interface ILogService {

    void addLog(Log log);

    PageInfo<Log> queryAllLog(int num, int size);

    PageInfo<Log> queryLogByCondition(String user_id,Date startDate,Date endDate,int num, int size);
}
